﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Chaotic.Module.DBTool.Models
{
    public class BusyInfoModel : BindableBase
    {
        bool _isBusy;
        public bool IsBusy
        {
            get => _isBusy;
            set
            {
                if (!Equals(_isBusy, value))
                {
                    _isBusy = value;
                    this.RaisePropertyChanged("IsBusy"); 
                }
            }
        }


        string _busyContent = "正在加载中……";
        public string BusyContent
        {
            get => _busyContent;
            set
            {
                if (!Equals(_busyContent, value))
                {
                    _busyContent = value;
                    this.RaisePropertyChanged("BusyContent");
                }
            }
        }
    }
}
